package com.rd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rd.pojo.Department;
import com.rd.util.ResultModel;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qiufenfen
 * @since 2023-10-28
 */
public interface IDepartmentService extends IService<Department> {
    /**
     *获取所有部门
     */
    ResultModel getAllDepartments();

    /**
     *添加部门
     */
    ResultModel addDept(Department dep);

    /**
     *  删除部门
     */
    ResultModel deleteDept(Integer id);
}
